#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
题目：学习使用按位或 | 。

程序分析：0|0=0; 0|1=1; 1|0=1; 1|1=1
"""


if __name__ == '__main__':
    a = 077
    aa = 77
    print a, aa
    b = a | 3
    print 'a | b is %d' % b
    b |= 7
    print 'a | b is %d' % b
